<?php
require_once './model/BookBaseEntity.php';
class BookDetailEntity extends BookBaseEntity
{
	/*
	 * 图书isbn
	 * @public string
	 */
	public $_IBSN;
	/*
	 * 图书出版时间
	 * @public string
	 */
	public $_PUBLISH_TIME;
	
	/*
	 * 图书纸张
	 * @public string
	 */
	public $_PAPER;
	
	/*
	 * 图书版次
	 * @public int
	 */
	public $_EDITION_NUM;
	
	/*
	 *图书印刷时间
	 *@public string 
	 */
	public $_PRINT_TIME;
	
	/*
	 * 图书页数
	 * @public int
	 */
	public $_PAGES;
	
	/*
	 * 图书大小
	 * @public int
	 */
	public $_BOOK_SIZE;
	
	/*
	 * 图书描述
	 * @public string
	 */
	public $_DESCRIBE;
	
	/*
	 * 少数目录
	 * @public string
	 */
	public $_LESS_CATALOGUE;
	
	/*
	 * 更多目录
	 * @var 
	 */
	public $_MORE_CATALOGUE;
	/*
	 * 目录是否存在
	 */
	public $_EXIST_CATALOGUE;
	/*
	 * 作者简介
	 * @public string
	 */
	public $_AUTHOR_INFO;
	
	/**
	 * 设定原来有点的信息
	 * @param BookBaseEntity $book
	 */
	function __construct($book)
	{
		$this->_AUTHOR 	      = $book->_AUTHOR;
		$this->_BOOKNAME      = $book->_BOOKNAME;
		$this->_COMMENT_URL   = $book->_COMMENT_URL;
		$this->_COSTWAY       = $book->_COSTWAY;
		$this->_DISCOUNT      = $book->_DISCOUNT;
		$this->_DETAIL_URL    = $book->_DETAIL_URL;
		$this->_FROMTAG	      = $book->_FROMTAG;
		$this->_FROM	      = $book->_FROM;
		$this->_GRADE	      = $book->_GRADE;
		$this->_IMG_URL	      = $book->_IMG_URL;
		$this->_PUBLISHMENT   = $book->_PUBLISHMENT;
		$this->_PRICE         = $book->_PRICE;
		$this->_INTRODUCTION  = $book->_INTRODUCTION;
		$this->_WEB_URL       = $book->_WEB_URL;
		$this->_COMMENT_NUMS  = $book->_COMMENT_NUMS;
		$this->_DISCOUNT_PRICE=$book->_DISCOUNT_PRICE;
		$this->_PINGZHUANG    =$book->_PINGZHUANG;
		$this->_EDITION_NUM   =self::DEFAUT_INFO;
		$this->_PUBLISH_TIME  =self::DEFAUT_INFO;
		$this->_PRINT_TIME    =self::DEFAUT_INFO;
		$this->_EDITION_NUM   =self::DEFAUT_INFO;
		$this->_PAPER         =self::DEFAUT_INFO;
		$this->_IBSN          =self::DEFAUT_INFO;
		$this->_PAGES         =self::DEFAUT_INFO;
		$this->_EXIST_CATALOGUE= null;
	}
}
?>